package cn.iocoder.yudao.module.chatgpt.controller.admin.chat.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

@Data
@Schema(description = "图片参数")
public class ImageDTO {
    @NotBlank(message = "图像描述不可为空")
    @Schema(description = "描述", requiredMode = Schema.RequiredMode.REQUIRED)
    private String tips;

    @Min(1)
    @Schema(description = "绘制结果数", requiredMode = Schema.RequiredMode.REQUIRED,example = "2")
    private Integer n = 1;
}
